package com.ephra.dao.factory;

import com.ephra.dao.item.MessageItem;
import com.ephra.dao.item.NewsItem;
import com.ephra.dao.item.UserItem;
import com.ephra.dao.proxy.NewsProxy;
import com.ephra.dao.proxy.UserProxy;

public class Factory {
	public static UserItem getUser() throws Exception {
		return new UserProxy();
	}
	
//	public static MessageItem getMessage() throws Exception {
//		return new MessageProxy();
//	}
	
	public static NewsItem getNews() throws Exception {
		return new NewsProxy();
		
	}
}
